//路由表
import React from 'react'
const Home = React.lazy(() => import('../pages/Home'))
const Login = React.lazy(() => import('../pages/Login'))
const Country = React.lazy(() => import('../pages/Country'))
const verifyPhone = React.lazy(() => import('../containers/WithVp'))
const VerifyCode = React.lazy(() => import('../containers/WithVc'))
const VerifyPassword = React.lazy(() => import('../containers/WithVpass'))
// 路由表
export default [
  {
    path: '/',
    component: Login,
    exact: true,
  },
  {
    path: '/home',
    component: Home,
  },
  {
    path: '/login',
    component: Login,
  },
  {
    path: '/verifyPhone',
    component: verifyPhone,
  },
  {
    path: '/verifyCode',
    component: VerifyCode,
  },
  {
    path: '/verifyPassword',
    component: VerifyPassword,
  },
  {
    path: '/country',
    component: Country,
  },
]
